public class Test {
    public static void main(String[] args) {
        Hero houYi = new Hero("houYi", 14, 16, 8, 1000, 0, 0, 5);
        Hero zhongKui = new Hero("zhongKui", 10, 6, 11, 1500, 100, 100, 5);

        // 由于一开始后羿在左下角，钟馗在右上角，攻击不到，所以先移动到能攻击钟馗
        houYi.move(90, 90);
        houYi.attack(zhongKui);
        zhongKui.attack(houYi);

        System.out.println(houYi);
        System.out.println(zhongKui);
    }
}